package com.example.mydemo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@TableName("u_order")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Order {
    private int id;
    private String ordertime;
    private double total;
//    @TableField(exist = false)
    private User user;
}

